package org.jeecg.modules.business.takestockplan.entity.VO;

import java.util.List;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.business.takestockplan.entity.TakeStockPlanDifferenceMaterial;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 盘点差异处理单
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@Data
@ApiModel(value="wms_take_stock_plan_differencePage对象", description="盘点差异处理单")
public class TakeStockPlanDifferencePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**盘点作业编号*/
	@ApiModelProperty(value = "盘点作业编号")
	@Excel(name = "盘点作业编号", width = 15)
	private String code;
	/**计划盘点日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "计划盘点日期")
	@Excel(name = "计划盘点日期", width = 15, format = "yyyy-MM-dd")
	private Date planTime;
	/**盘点日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "盘点日期")
	@Excel(name = "盘点日期", width = 15, format = "yyyy-MM-dd")
	private Date executeDate;
	/**盘点任务编号*/
	@ApiModelProperty(value = "盘点任务编号")
	@Excel(name = "盘点任务编号", width = 15)
	private String takeStockPlanCode;
	/**盘点任务名称*/
	@ApiModelProperty(value = "盘点任务名称")
	@Excel(name = "盘点任务名称", width = 15)
	private String takeStockPlanName;
	/**盘点仓库*/
	@Dict(dictTable = "wms_basic_warehouse", dicText = "code", dicCode = "id")
	@ApiModelProperty(value = "盘点仓库id")
	@Excel(name = "盘点仓库", width = 15, dictTable = "wms_basic_warehouse", dicText = "code", dicCode = "id")
	private String wmsBasicWarehouse;
	/**库区id*/
	@Dict(dictTable = "wms_basic_warehouse_area", dicText = "code", dicCode = "id")
	@ApiModelProperty(value = "盘点库区id")
	@Excel(name = "盘点库区", width = 15, dictTable = "wms_basic_warehouse_area", dicText = "code", dicCode = "id")
	private String wmsBasicWarehouseArea;
	/**盘点物料分类id*/
	@Dict(dictTable = "wms_basic_material_type", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "盘点物料分类id")
	@Excel(name = "盘点物料分类", width = 15, dictTable = "wms_basic_material_type", dicText = "name", dicCode = "id")
	private String materialTypeId;
	/**盘点物料id*/
	@Dict(dictTable = "wms_basic_material", dicText = "code", dicCode = "id")
	@ApiModelProperty(value = "盘点物料id")
	@Excel(name = "盘点物料编码", width = 15, dictTable = "wms_basic_material", dicText = "code", dicCode = "id")
	private String materialId;
	/**货主类型*/
	@Dict(dicCode = "wms_owner_of_cargo")
	@ApiModelProperty(value = "货主类型")
	@Excel(name = "货主类型", width = 15, dicCode = "wms_owner_of_cargo")
	private String ownerType;
	/**货主*/
	@ApiModelProperty(value = "货主")
	@Excel(name = "货主", width = 15)
	private String owner;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15, dicCode = "take_stock_plan_status")
	@ApiModelProperty(value = "单据状态")
    private String documentStatus;
	/**组织*/
	@ApiModelProperty(value = "组织")
	@Excel(name = "组织", width = 15)
	private String organization;
	/**是否生成盘盈盘亏单*/
	@ApiModelProperty(value = "是否生成盘盈盘亏单")
    private String generateFlag;
	/**盘盈单id*/
	@ApiModelProperty(value = "盘盈单id")
    private String inventoryGainId;
	/**盘亏单id*/
	@ApiModelProperty(value = "盘亏单id")
    private String inventoryLossId;
	/**租户id*/
	@ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**逻辑删除*/
	@ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
	/**盘点作业id*/
	@ApiModelProperty(value = "盘点作业id")
    private String takeStockPlanExecuteId;

	@ExcelCollection(name="盘点差异处理单-物料")
	@ApiModelProperty(value = "盘点差异处理单-物料")
	private List<TakeStockPlanDifferenceMaterial> takeStockPlanDifferenceMaterialList;

}
